//-----------------------------------------------------------------------
// <copyright file="MailLetterBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class MailLetterBase
	{
		
		#region Variable Declarations
		public static string _Table = "MailLetter";
		private long				mailLetterId = 0;
		private string				fullName = string.Empty;
		private string				email = string.Empty;
		private string				sex = string.Empty;
		private DateTime				createdDate = new DateTime(1900,1,1,0,0,0,0);
		private long				catalogId = 0;
		private string				language = string.Empty;
		#endregion
		
		#region Constructors
		public MailLetterBase() {}
		
		public MailLetterBase (
			long mailLetterId,
			string fullName,
			string email,
			string sex,
			DateTime createdDate,
			long catalogId,
			string language)
		
		{
			this.mailLetterId = mailLetterId;
			this.fullName = fullName;
			this.email = email;
			this.sex = sex;
			this.createdDate = createdDate;
			this.catalogId = catalogId;
			this.language = language;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long MailLetterId
		{
			get { return mailLetterId; }
			set { mailLetterId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string FullName
		{
			get { return fullName; }
			set { fullName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Email
		{
			get { return email; }
			set { email = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Sex
		{
			get { return sex; }
			set { sex = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is smalldatetime</value>
		public DateTime CreatedDate
		{
			get { return createdDate; }
			set { createdDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long CatalogId
		{
			get { return catalogId; }
			set { catalogId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Language
		{
			get { return language; }
			set { language = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum MailLetterColumns
	{
		MailLetterId,
		FullName,
		Email,
		Sex,
		CreatedDate,
		CatalogId,
		Language
	}//End enum
}